<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    #main {
      width: 200px;
      height: 350px;
      background: orange;
      border-radius: 100px / 75px;
      display: flex;
      flex-flow: column nowrap;
      justify-content: space-between;
      border-left: 1px dashed #000;
      border-right: 1px dashed #000;
      text-align: center;
    }

    #main > div {
      width: 198px;
      height: 150px;
      border: 1px dashed #000;
      border-radius: 50%;
    }
  </style>
</head>
<body>
  <div id="main">
    <div></div>
    这是一个立体效果的圆柱体
    <div></div>
  </div>
</body>
</html>